﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace sourcephi.Models
{
    public partial class tongzhi
    {
        public DTO.tongzhiDTO ToDto()
        {
            return new DTO.tongzhiDTO()
            {
               nid=this.nid,
               title=this.title,
               notice=this.notice,
               addtime=this.addtime,
               app=this.app,
               loginname=this.loginname,
               same=this.same
            };
        }
    }
}